import { NavLink, Outlet, Routes, Route, Navigate } from "react-router-dom"

import "./index.css"

function Main() {
    return (
        <div className="main_box">
            <div className="router">
                <Outlet />
            </div>

            <ul className="footer_box">
                <li><NavLink to={"/films"}>电影</NavLink></li>
                <li><NavLink to={"/cinemas"}>影院</NavLink></li>
                <li> <NavLink to={"/ad"}>资讯</NavLink></li>
                <li> <NavLink to={"/center"}>我的</NavLink></li>
            </ul>
        </div>
    )
}

export default Main